<?php
	namespace org\kahikai\database\mysql;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Cp1252"/>
<meta name="author" content="Ch4mp"/>
<link rel="shortcut icon" href="../../../../../favicon.ico" type="image/x-icon"/> 
<link rel="icon" href="../../../../../favicon.ico" type="image/x-icon"/>
<title>MysqlGeneExpressionDao test</title>
</head>
<body>
<?php
	require_once '../../../../../org/kahikai/database/mysql/MysqlGeneExpressionDao.php';
	
	use org\kahikai\database\mysql\MysqlGeneExpressionDao;
	
	$geneExpressionDao = new MysqlGeneExpressionDao();
	
	echo "<h1>getBySpeciesid(1)</h1>\n";
	echo "<p>";
	foreach($geneExpressionDao->getBySpeciesid(1) as $geneId => $stepsExpressions) {
		echo "gene#$geneId: ";
		$isFirst = true;
		foreach($stepsExpressions as $stepId => $isExprimed) {
			if($isFirst) {
				$isFirst = false;
			} else {
				print ', ';
			}
			echo "step#$stepId: $isExprimed";
		}
		echo "<br/>\n";
	}
	echo "</p>\n";
?>
</body>
</html>